package com.showsu.editor.session.redis;

import com.showsu.editor.session.AbstractSession;
import com.showsu.editor.session.SessionException;

import java.io.Serializable;
import java.util.Set;

/**
 * @Author: William
 * @Description: redis会话内容
 * @Date: Created in 11:11 上午 2024/9/20
 * @Modified By:
 */
public class RedisSession extends AbstractSession {

    public RedisSession(String sessionId, Long userId) {
        super(sessionId, userId);
    }

    @Override
    public Serializable getAttribute(String attrName) throws SessionException {
        return null;
    }

    @Override
    public <T extends Serializable> T getAttribute(String attrName, Class<T> type) throws SessionException {
        return null;
    }

    @Override
    public boolean removeAttribute(String attrName) throws SessionException {
        return false;
    }

    @Override
    public boolean containAttributeName(String attrName) {
        return false;
    }

    @Override
    public void setAttribute(String attrName, Serializable value) throws SessionException {
    }

    @Override
    public void setAppAttribute(String attrName, Serializable value) throws SessionException {
    }

    @Override
    public void setAttribute(String attrName, Serializable value, int expiryTime) throws SessionException {
    }

    @Override
    public Set<String> getAllAttributeKeys() throws SessionException {
        return null;
    }
}
